package com.cc.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * 
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-11 11:30:58
 */
@Data
@TableName("cc_demandnote")
@ApiModel("已缴款")
public class DemandnoteEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 缴款id
	 */
	@TableId
	@ApiModelProperty("缴款id")
	private Long id;
	/**
	 * 审核状态0未审核1审核通过2审核失败
	 */
	@ApiModelProperty("缴款审核状态0未审核1审核通过2审核失败")
	private Integer demandnoteStatus;
	/**
	 * 收款金额
	 */
	@ApiModelProperty("收款金额")
	private BigDecimal receiveMoney;
	/**
	 * 创建时间
	 */
	@ApiModelProperty("缴款时间")
	private Date createtime;
	/**
	 * 收款人id
	 */
	@ApiModelProperty("收款人id")
	private Long payeeId;
	/**
	 * 线下订单id
	 */
	@ApiModelProperty("线下订单id")
	private Long ooid;


	@TableField(exist = false)
	@ApiModelProperty("缴款凭证")
	private List<String> demandnotePictures = new ArrayList<>();

}
